// pages/city/city.js
Page({

  data: {
    hotCities:[
      {id:1001,name:"上海市"},
      {id:1002,name:"北京市"},
      {id:1003,name:"深圳市"},
      {id:1004,name:"武汉市"}
    ]
  },
  onLoad: function (options) {
    
  },
  handleCity(event){
    var {city} = event.currentTarget.dataset;
    wx.setStorageSync('city', city);
    wx.navigateBack();
  },
})